@charset "utf-8";

$bg-main-color:#121b34;
$title-tab-color:#32c5d8;

$fontsize-title: 68px;
$fontsize-subtitle: 48px;
$fontsize-text: 18px;

body {
    font-family: Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, Helvetica, sans-serif;
}

.am-nav>li>a:focus, .am-nav>li>a:hover{
    background-color: rgba(0,0,0,0) !important;
}

.am-topbar-nav>li>a:after{
    border: none !important;
}

.am-with-topbar-fixed-top{
    margin-top: 0;
    padding-top: 0;
}

.bgcolor{
    background-color: $bg-main-color;
}

.title-tab-color{
    color: $title-tab-color;
}

.fontsize-title{
    font-size: $fontsize-title;
}

.fontsize-subtitle{
    font-size: $fontsize-subtitle;
}

.fontsize-text{
    font-size: $fontsize-text;
}

.am-topbar-btn {
    margin-top: 18px !important;
}

.am-btn-success{
    border-radius: 4px;
    background-color: $title-tab-color;
}

.am-btn-success:focus, .am-btn-success:hover {
    background-color: $title-tab-color !important;
}

.public-box{
    padding: 120px 40px;
    box-sizing: border-box;
    @media all and (max-width: 480px) {
        padding: 80px 20px !important;
    }
    .content{
        max-width: 1199px;
        margin: auto;
    }
}

.header-mod{
    height: 72px;
    line-height: 72px;
    background-color: rgba(0,0,0,0.8);
    border: none;
    margin: 0;
    box-sizing: border-box;
    z-index: 9999;
    @media all and (min-width: 480px) {
        padding: 0 80px;
        .am-collapse{
            float: right;
        }
    }
    .am-topbar-brand{
        padding: 11px 20px;
        height: 72px;
        box-sizing: border-box;
        a{
            display: block;
            height: 100%;
        }
    }
    .am-topbar-collapse{
        .am-nav{
            li{
                @media all and (max-width: 480px) {
                    background-color: rgba(0,0,0,0.8);
                }
                a{
                    @media all and (min-width: 480px) {
                        line-height: 72px;
                    }
                    @media all and (max-width: 480px) {
                        line-height: 40px;
                    }
                    color: #fff;
                    &:hover{
                        background-color: none;
                        color: $title-tab-color;
                    }
                }
                .am-active{
                    background-color: none;
                    color: $title-tab-color;
                }
            }
        }
    }
}

#home{
    width: 100%;
    @media all and (min-width: 480px) {
        height: 780px;
    }
    @media all and (max-width: 480px) {
        height: 100vh;
    }
    overflow: hidden;
    padding: 0 !important;
    position: relative;
    box-sizing: border-box;
    .content{
        width: 100%;
        max-width: 100% !important;
        min-height: 780px;
        position: absolute;
        left: 0;
        top: 0;
        .content-texts{
            @media all and (min-width: 480px) {
                width: 480px;
                margin-left: -240px;
                padding: 120px 0;
            }
            @media all and (max-width: 480px) {
                width: 320px;
                margin-left: -160px;
                padding: 40px 0;
            }
            position: absolute;
            left: 50%;
            top: 20%;
            .logo-title{
                @media all and (min-width: 480px) {
                    width: 480px;
                }
                @media all and (max-width: 480px) {
                    width: 320px;
                }
                margin-bottom: 40px;
                img{
                    width: 100%;
                    height: auto;
                }
            }
            h5{
                counter-reset: #fff;
                line-height: 1.2;
                color: #fff;
                font-weight: 400;
                margin: 10px 0;
                font-size: 20px;
            }
            p{
                font-size: 12px;
                color: #fff;
                padding-top: 40px;
            }
        }
    }
}


#project{
    border-top: 1px solid rgba(43,65,126,0.2);
    border-bottom: 1px solid rgba(43,65,126,0.2);
    .content{
        padding: 0 10%;
        box-sizing: border-box;
        h2,h3{
            font-weight: 400;
            line-height: 1.2;
            text-align: center;
        }
        h2{
            font-size: 52px;
            @media all and (max-width: 480px) {
                font-size: 36px !important;
            }
        }
        h3{
            color: #fff;
            font-size: 32px;
            margin-bottom: 80px;
            @media all and (max-width: 480px) {
                font-size: 22px !important;
            }
        }
        p{
            color: #fff;
            font-size: 16px;
            line-height: 2;
            @media all and (max-width: 480px) {
                font-size: 12px !important;
            }
        }
    }
}

.project-two{
    .content{
        .content-text{
            width: 50%;
            @media all and (max-width: 480px) {
                width: 100% !important;
            }
            h2{
                margin: 10px;
                line-height: 1.2;
                font-weight: 400;
                @media all and (min-width: 480px) {
                    font-size: 52px;
                }
                @media all and (max-width: 480px) {
                    font-size: 36px;
                }
            }
            p{
                font-size: 18px;
                color: #fff;
                margin: 0;
                line-height: 2;
            }
            p:nth-of-type(1){
                margin-top: 80px
            }
            p:nth-last-of-type(1){
                margin-bottom: 80px;
            }
            ul{
                list-style: none;
                padding: 0;
                @media all and (min-width: 480px) {
                    li{
                        text-align: center;
                        display: inline-block;
                        margin-right: 30px;
                        span{
                            width: 52px;
                            height: 52px;
                            display: block;
                            border-radius: 50%;
                            text-align: center;
                            line-height: 52px;
                            color: #fff;
                            background-color: $title-tab-color;
                            margin: 0 auto;
                        }
                        h4{
                            font-size: 18px;
                            color: #fff;
                            margin: 10px 0;
                            font-weight: 400;
                        }
                        p{
                            font-size: 14px;
                            line-height: 1.2;
                            margin: 0 !important;
                            color: #999;
                        }
                    }
                }
                @media all and (max-width: 480px) {
                    display: flex;
                    justify-content: space-between;
                    li{
                        text-align: center;
                        display: inline-block;
                        padding: 0 20px;
                        span{
                            width: 48px;
                            height: 48px;
                            display: block;
                            border-radius: 50%;
                            text-align: center;
                            line-height: 52px;
                            color: #fff;
                            background-color: $title-tab-color;
                            margin: 0 auto;
                        }
                        h4{
                            font-size: 16px;
                            color: #fff;
                            margin: 10px 0;
                            font-weight: 400;
                        }
                        p{
                            font-size: 12px;
                            line-height: 1.2;
                            margin: 0 !important;
                            color: #999;
                        }
                    }
                }
            }
        }
        .content-img{
            width: 45%;
            padding-top: 60px;
            @media all and (max-width: 480px) {
                width: 100% !important;
            }
            img{
                width: 100%;
                height: auto;
            }
        }
    }
}

.public-main{
    .content{
        .content-text{
            width: 50%;
            @media all and (max-width: 480px) {
                width: 100%;
                text-align: center;
                h2{
                    font-size: 40px !important;
                    padding: 0 !important;
                    margin: 0 0 40px !important;
                }
            }
            h2{
                color: $bg-main-color;
                font-size: 52px;
                margin: 0 0 80px;
                line-height: 1.2;
                padding-top: 80px;
            }
            h4{
                color: #333;
                font-size: 28px;
                font-weight: 400;
                margin: 0;
                line-height: 1;
            }
            p{
                color: #999;
                font-size: 16px;
                @media all and (max-width: 480px) {
                    margin-bottom: 60px;
                }
            }
        }
        .content-img{
            width: 35%;
            @media all and (max-width: 480px) {
                width: 100%;
            }
            img{
                width: 100%;
                height: auto;
            }
        }
    }
}
.project-thr{
    background-color: #fff;
}
.project-four{
    background-color: #efefef;
}
.project-five{
    background-color: #fff;
}
#team{
    background-color: #efefef;
    h2{
        text-align: center;
        color: $bg-main-color;
        font-size: 60px;
        margin: 0 0 80px;
        line-height: 1.2;
        @media all and (max-width: 480px) {
            font-size: 40px !important;
        }
    }
}

#support{
    background-color: #fff;
    h2{
        text-align: center;
        color: $bg-main-color;
        font-size: 60px;
        margin: 0 0 80px;
        line-height: 1.2;
        @media all and (max-width: 480px) {
            font-size: 40px !important;
            margin: 0 0 40px !important;
        }
    }
    .item-ul{
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
        li{
            width: 20%;
            padding: 20px;
            box-sizing: border-box;
            height: 200px;
            text-align: center;
            img{
                width: 100px;
                height: 100px;
                display: block;
                margin: auto;
            }
            h4{
                color: $bg-main-color;
                font-size: 20px;
                margin: 0 10px;
                line-height: 1.2;
            }
            p{
                color: #999;
                font-size: 12px;
                margin: 0;
            }
        }
        @media all and (max-width: 480px) {
            li{
                width: 50%;
                img{
                    width: 100px;
                    height: 100px;
                    display: block;
                    margin: auto
                }
            }
        }
    }
}

#contact{
    background-color: #efefef;
    h2{
        text-align: center;
        color: $bg-main-color;
        font-size: 60px;
        margin: 0 0 80px;
        line-height: 1.2;
        @media all and (max-width: 480px) {
            font-size: 40px !important;
        }
    }
    p{
        text-align: center;
    }
}

.contact-form{
    background: url("../img/bg2.png") center top no-repeat $bg-main-color;
    @media all and (min-width: 480px) {
        padding-top: 480px;
    }
    @media all and (max-width: 480px) {
        padding-top: 180px !important;
        background-size: 100%;
    }
    .content{
        text-align: center;
        .logo-title{
            @media all and (min-width: 480px) {
                width: 400px;
            }
            @media all and (max-width: 480px) {
                width: 280px;
            }
            margin: 0 auto 40px !important;
            img{
                width: 100%;
                height: auto;
            }
        }
        h4{
            color: #fff;
            font-size: 28px;
            font-weight: 400;
            margin: 0;
            line-height: 1;
        }
        p{
            color: #fff;
            font-size: 16px;
            margin-top: 40px;
        }
        .form{
            margin: 40px 0;
            .am-btn{
                @media all and (max-width: 480px) {
                    width: 100%;
                }
            }
        }
        .Interaction-box{
            ul{
                text-align: center;
                list-style: none;
                padding: 0;
                li{
                    display: inline-block;
                    margin: 0 10px 20px;
                }
            }
        }
    }
}